package com.model.bean;

import com.entites.ContactMessage;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class ContactMessageFacade extends AbstractFacade<ContactMessage> implements ContactMessageFacadeLocal
{
    @PersistenceContext(unitName = "BluePumpkinCompanyPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager()
    {
        return em;
    }

    public ContactMessageFacade()
    {
        super(ContactMessage.class);
    }

}
